// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from "vue";
import App from "./App";
import router from "./router";

Vue.config.productionTip = false;

// 引入全局 css 和  js
import "./assets/js/remScale.js";
import "./assets/css/reset.css";

//引入vant UI 框架
import vantUI from "vant";
//引入样式
import "../node_modules/vant/lib/index.css";
Vue.use(vantUI);

// 设置图片服务器地址
Vue.prototype.$imgUrl = "http://localhost:3000";

/* eslint-disable no-new */
new Vue({
  el: "#app",
  router,
  components: { App },
  template: "<App/>"
});
